package com.imti.mall.product.service;

import com.imti.mall.model.pms.pojo.PmsProductFullReduction;
import com.imti.mall.model.pms.pojo.PmsProductLadder;


import java.util.List;

public interface PmsProductFullReductionService {
    /**
     * 根据商品id查询商品满减表
     * @param id
     * @return
     */
    public List<PmsProductFullReduction> getPmsProductFullReductionId(Integer id);

    /**
     * 根据满减表表id修改满减表
     * @param pmsProductFullReduction
     * @return
     */
    public Integer upadtePmsProductFullReduction(PmsProductFullReduction pmsProductFullReduction);

    /**
     * 查询全部商品满减表价格表
     * @return
     */
    public List<PmsProductFullReduction> findPmsProductFullReduction();


    /**
     * 根据接替id查询商品满减表格表
     * @return
     */
    public PmsProductFullReduction findPmsProductFullReductionById(Integer id);


    /**
     * 添加商品满减表价格表
     * @return
     */
    public Integer addPmsProductFullReduction(PmsProductFullReduction pmsProductFullReduction);

    /**
     * 根据商品满减表价格表id删除
     * @return
     */
    public Integer delPmsProductLadder(Integer id);

    /**
     * 批量添加
     * @param list
     * @return
     */
    public boolean addList(List<PmsProductFullReduction> list);

    /**
     * 批量修改
     * @param list
     * @return
     */
    public boolean updateList(List<PmsProductFullReduction> list);

    /**
     * 批量修改
     * @param list
     * @return
     */
    public boolean deleteList(List<PmsProductFullReduction> list);
}
